<template>
    <div>
        <ul>
            <div v-html="obj.productImg"></div>
            <div v-html="obj.bjShop"></div>
        </ul>
    </div>
</template>

<script>
   import {getDetail} from "../api"
   export default {
       data(){
           return {
               obj:{}
           }
       },
       created(){
        //    console.log(this.$route.query.id);
           getDetail(this.$route.query.id).then(
               res=>{
                   this.obj = res.data.result[0]
                   console.log(this.obj);
               }
           )
       }
   }
</script>